//医院详情api

import request from "@/utils/request.ts";
//引入ts类型
import type {HosPitalDetail} from "./type.ts"
import {HospitalInfo} from "@/api/home/type.ts";
//设置枚举
enum  API{
    HOSPITALDETAIL_URL = '/hosp/hospital/',
}

//获取医院详情接口
export  const reqHospitalDetail=(hoscode:string)=>request.get<any,HosPitalDetail>(API.HOSPITALDETAIL_URL+hoscode);

